Get all entry rounds belonging to a competition
curl https://platform.younoodle.com/client-api/v1/competition/my_competition/entry-rounds \
-H 'YouNoodle-API-Key: 56f9bbec9bc614e351e5eea2ea851e31' \
-H 'Accept: application/json'
The above command returns JSON structured like this:
{
"object" => "list",
"count" => 2,
"page" => 1,
"has_more" => false,
"data" => [
{
"id": "the_honey_badger_challenge_1",
"object": "entry_round",
"url": "/client-api/v1/competition/the_honey_badger_challenge/entry-rounds/the_honey_badger_challenge_1",
"name": "The Honey Badger Challenge 1",
"is_open": false,
"deadline_at": 1459555199,
"judge_rounds": "url": "/client-api/v1/competition/the_honey_badger_challenge/entry-rounds/the_honey_badger_challenge_1/judge-rounds",
"entries": "url": "/client-api/v1/competition/the_honey_badger_challenge/entry-rounds/the_honey_badger_challenge_1/entries",
"entries_created": 2203,
"entries_submitted": 1445
},
{
"id": "the_honey_badger_challenge_2",
"object": "entry_round",
"url": "/client-api/v1/competition/the_honey_badger_challenge/entry-rounds/the_honey_badger_challenge_2",
"name": "The Honey Badger Challenge 2",
"is_open": true,
"deadline_at": 1459545234,
"judge_rounds": "url": "/client-api/v1/competition/the_honey_badger_challenge/entry-rounds/the_honey_badger_challenge_2/judge-rounds",
"entries": "url": "/client-api/v1/competition/the_honey_badger_challenge/entry-rounds/the_honey_badger_challenge_2/entries",
"entries_created": 503,
"entries_submitted": 401
}
]
}
Your competition will have one or more entry rounds associated with it. These can be accessed with the following endpoint.
caution
Endpoints that return lists of objects are paginated in groups of 100. Add a page query parameter or pass a paging option to your client library to see more objects.
HTTP Request
GET https://platform.younoodle.com/client-api/v1/competition/<id>/entry-rounds
URL Parameters
| Parameter | Description |
|---|---|
| id | Your competition identifier |
Query parameters
Add ?page=n as a request parameter to page through the data.